﻿using System;

namespace LTJ.Entity
{
    /// <summary>
    /// 规则信息实体
    /// </summary>
    [Serializable]
    public class RuleInfo
    {
        #region Model
        private int _id;
        private int _uid = 0;
        private int _oid = 0;
        private int _rtype = 1;
        private string _20gp = "0";
        private string _40gp = "0";
        private string _40hq = "0";
        private int _rid = 0;
        private string _port = "";

        private string _seaname = "";
        private string _seaename = "";
        private string _seaname1 = "";
        private string _seaename1 = "";
        private string _boatname = "";
        private string _boatename = "";
        private string _portname = "";
        private string _portename = "";

        private string _cname = "";
        private string _lname = "";

        private string _seacode = "";
        private string _boatcode = "";
        /// <summary>
        /// 规则ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int uid
        {
            set { _uid = value; }
            get { return _uid; }
        }
        /// <summary>
        /// 企业ID
        /// </summary>
        public int oid
        {
            set { _oid = value; }
            get { return _oid; }
        }
        /// <summary>
        /// 规则类型（默认1，船司；2，航线；3，港口）
        /// </summary>
        public int rtype
        {
            set { _rtype = value; }
            get { return _rtype; }
        }
        /// <summary>
        /// 20GP
        /// </summary>
        public string _20GP
        {
            set { _20gp = value; }
            get { return _20gp; }
        }
        /// <summary>
        /// 40GP
        /// </summary>
        public string _40GP
        {
            set { _40gp = value; }
            get { return _40gp; }
        }
        /// <summary>
        /// 40HQ
        /// </summary>
        public string _40HQ
        {
            set { _40hq = value; }
            get { return _40hq; }
        }
        /// <summary>
        /// 授权航线ID
        /// </summary>
        public int rid
        {
            set { _rid = value; }
            get { return _rid; }
        }
        /// <summary>
        /// 港口ID
        /// </summary>
        public string port
        {
            set { _port = value; }
            get { return _port; }
        }
        /// <summary>
        /// 航线名称
        /// </summary>
        public string seaname
        {
            set { _seaname = value; }
            get { return _seaname; }
        }
        /// <summary>
        /// 航线英文名称
        /// </summary>
        public string seaename
        {
            set { _seaename = value; }
            get { return _seaename; }
        }
        /// <summary>
        /// 全局航线名称
        /// </summary>
        public string seaname1
        {
            set { _seaname1 = value; }
            get { return _seaname1; }
        }
        /// <summary>
        /// 全局航线英文名称
        /// </summary>
        public string seaename1
        {
            set { _seaename1 = value; }
            get { return _seaename1; }
        }
        /// <summary>
        /// 船司名称
        /// </summary>
        public string boatname
        {
            set { _boatname = value; }
            get { return _boatname; }
        }
        /// <summary>
        /// 船司英文名称
        /// </summary>
        public string boatename
        {
            set { _boatename = value; }
            get { return _boatename; }
        }
        /// <summary>
        /// 港口名称
        /// </summary>
        public string portname
        {
            set { _portname = value; }
            get { return _portname; }
        }
        /// <summary>
        /// 港口英文名称
        /// </summary>
        public string portename
        {
            set { _portename = value; }
            get { return _portename; }
        }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string cname
        {
            set { _cname = value; }
            get { return _cname; }
        }
        /// <summary>
        /// 用户登录名
        /// </summary>
        public string lname
        {
            set { _lname = value; }
            get { return _lname; }
        }
        /// <summary>
        /// 航线code
        /// </summary>
        public string seacode
        {
            set { _seacode = value; }
            get { return _seacode; }
        }
        /// <summary>
        /// 船公司code
        /// </summary>
        public string boatcode
        {
            set { _boatcode = value; }
            get { return _boatcode; }
        }
        #endregion Model
    }
}
